home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inventor Labs: Technology
/
INVENTORLABS_TECHNOLOGY.BIN
/
mac
/
FILES
/
SHARED.CST
/
00139_Script_object movie handlers
< prev
next >
Wrap
Text File
|
1997-07-24
|
1KB
|
27 lines
-- Routines for managing object movies
-------------------------------------------------------------------------------
--=============================================================================
-- ZoomNavMovie:
-- pStartZoomRect specifies the start rect as a string rect
-- [pSkipFirstFrame] is "true" if the first zoom frame should not be shown
-- [pClipRect] is the screen string rect to which the zoom should be clipped
--
-- Zooms the nav movie out from the start rect specified, possibly skipping
-- the first frame and clipping to a given rect.
-- Note: this is unsupported on the PC side
-------------------------------------------------------------------------------
on ZoomNavMovie pStartZoomRect, pSkipFirstFrame, pClipRect
global gQTVRInstance
-- Make sure we're on a mac before trying this
if the machineType <> 256 then
if IsQTVRMovie(gQTVRInstance) then
QTVRZoomOutEffect(gQTVRInstance,pStartZoomRect,pSkipFirstFrame,pClipRect)
QTVRIdle(gQTVRInstance)
end if
end if
end ZoomNavMovie